<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<ui:composition template="template.xhtml"
                xmlns:ui="http://java.sun.com/jsf/facelets"
                xmlns:h ="http://java.sun.com/jsf/html"
                xmlns:c="http://java.sun.com/jsp/jstl/core"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:mc="http://java.sun.com/jsf/composite/mycomponents"
                xmlns:cc="http://java.sun.com/jsf/composite">

    <ui:define name="main">
        <mc:logincomp>
            <f:attribute value="#{loginManager.user}" name="user" />
            <f:attribute value="#{loginManager}" name="loginManager" />
        </mc:logincomp>
    </ui:define>
    <h1>#{loginManager.user.login}</h1>
    <ui:define name="navi">
        <ul>
            <li><a href="faces/register.xhtml">#{msg.register}</a></li>
        </ul>
    </ui:define>
</ui:composition>